package br.com.social.mobile.entities;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="TB_USER")
public class User extends AbstractEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1846067492058752646L;

	@Column(name="NU_ID_PROFILE")
    private Long nuIdProfile;
	
	@Column(name="DS_NAME")
	private String dsName;
	
	@Column(name="NU_AGE")
	private Integer nuAge;	
	
	@Column(name="NU_LATITUDE")
	private Double nuLatitude;		
	
	@Column(name="NU_LONGITUDE")
	private Double nuLongitude;	
	
	@Column(name="NU_RAIUS_GPS")
	private Integer nuRaiusGps;
	
	@Column(name="NU_GENDER")
	private Integer nuGender;	
	
	@Column(name="NU_COUNT_LOGIN")
    private Integer nuCountLogin;
	
	@Column(name="DT_LAST_UPDATED_GPS")
    private Date dtLastUpdatedGps;	
	
	@Column(name="DS_IMG_USER")
	private String dsImgUser;	
	
	@Column(name="IS_SHOW_MY_POSITION")
	private String isShowMyPosition = "S";	


	public Long getNuIdProfile() {
		return nuIdProfile;
	}

	public void setNuIdProfile(Long nuIdProfile) {
		this.nuIdProfile = nuIdProfile;
	}

	public String getDsName() {
		return dsName;
	}

	public void setDsName(String dsName) {
		this.dsName = dsName;
	}

	public Integer getNuAge() {
		return nuAge;
	}

	public void setNuAge(Integer nuAge) {
		this.nuAge = nuAge;
	}

	public Double getNuLatitude() {
		return nuLatitude;
	}

	public void setNuLatitude(Double nuLatitude) {
		this.nuLatitude = nuLatitude;
	}

	public Double getNuLongitude() {
		return nuLongitude;
	}

	public void setNuLongitude(Double nuLongitude) {
		this.nuLongitude = nuLongitude;
	}

	public Integer getNuRaiusGps() {
		return nuRaiusGps;
	}

	public void setNuRaiusGps(Integer nuRaiusGps) {
		this.nuRaiusGps = nuRaiusGps;
	}

	public Integer getNuCountLogin() {
		return nuCountLogin;
	}

	public void setNuCountLogin(Integer nuCountLogin) {
		this.nuCountLogin = nuCountLogin;
	}

	public Date getDtLastUpdatedGps() {
		return dtLastUpdatedGps;
	}

	public void setDtLastUpdatedGps(Date nuLastUpdatedGps) {
		this.dtLastUpdatedGps = nuLastUpdatedGps;
	}

	public String getDsImgUser() {
		return dsImgUser;
	}

	public void setDsImgUser(String dsImgUser) {
		this.dsImgUser = dsImgUser;
	}

	public String getIsShowMyPosition() {
		return isShowMyPosition;
	}

	public void setIsShowMyPosition(String isShowMyPosition) {
		this.isShowMyPosition = isShowMyPosition;
	}

	@Override
	public String toString() {
		return "User [nuIdProfile=" + nuIdProfile + ", dsName=" + dsName
				+ ", nuAge=" + nuAge + ", nuLatitude=" + nuLatitude
				+ ", nuLongitude=" + nuLongitude + ", nuRaiusGps=" + nuRaiusGps
				+ ", nuCountLogin=" + nuCountLogin + ", dtLastUpdatedGps="
				+ dtLastUpdatedGps + ", dsImgUser=" + dsImgUser
				+ ", isShowMyPosition=" + isShowMyPosition + "]";
	}

	public Integer getNuGender() {
		return nuGender;
	}

	public void setNuGender(Integer nuGender) {
		this.nuGender = nuGender;
	}


}